<template>
  <hello-world/>
</template>


<script>
import HelloWorld from './components/HelloWorld.vue'

export default {
  name: 'App',
  components: {
    HelloWorld
  },
  data(){
    return{

    }
  }
}
</script>

<style lang="less">
@font-face {
  font-family: '像素风字体';
  src: url(./assets/Zpix.ttf);
}




h2 {
    margin-top: 20px;
    border-bottom: 1px solid black;
    font-family: '像素风字体';
    text-shadow: 2px 2px 1px rgb(255, 255, 255);
    color: rgb(0, 0, 0);
}


.table-fixed {
    table-layout: fixed;
}

.text-right {
  text-align: right;
}
.text-center {
  text-align: center;
}
.text-white {
  color: white;
}

.opacity-50 {
  opacity: 0.5;
}
.opacity-80 {
  opacity: 0.8;
}
.opacity-90 {
  opacity: 0.9;
}

/* icon */
.icon-search::before {
  content: url(https://wiki.52poke.com/load.php?modules=skins.vector.icons&image=search&format=original&skin=vector-2022&version=1jhpn);
}
@font-face {
  font-family: 'PokemonIcon';
  src: url('./assets/iconfont.woff2?t=1683696449710') format('woff2'),
       url('./assets/iconfont.woff?t=1683696449710') format('woff'),
       url('./assets/iconfont.ttf?t=1683696449710') format('truetype');
}
.pokemon-icon {
  font-family: "PokemonIcon" !important;
  font-size: 1em;
  color: rgb(177, 17, 17);
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.tips{
    margin: 10px;
    line-height: 2em;

    &::before {
        content: "·";
        font-weight: bold;
    }
}

/* roundy */
.roundy-5 {
  border-radius: 5px;
}
.roundy-10 {
  border-radius: 10px;
}
.roundy-20 {
  border-radius: 20px;
}

/* margin */
.margin-left-10 {
  margin-left: 10px;
}
.margin-0 {
  margin: 0px;
}
.margin-2 {
  margin: 2px;
}
.margin-5 {
  margin: 5px;
}
.margin-10 {
  margin: 10px;
}
.margin-20 {
  margin: 20px;
}

/* padding */
.padding-0 {
  padding: 0px;
}
.padding-5 {
  padding: 5px;
}
.padding-10 {
  padding: 10px;
}
.padding-20 {
  padding: 20px;
}
.padding-30 {
  padding: 30px;
}
.padding-left-2 {
  padding-left: 2px;
}
.padding-right-2 {
  padding-right: 2px;
}
.padding-bottom-2 {
  padding-bottom: 2px;
}


/* font */
.font-bold {
  font-weight: bold;
}
.font-size-10 {
  font-size: 10px;
}
.font-size-13 {
  font-size: 13px;
}
.font-size-12 {
  font-size: 12px;
}
.font-size-15 {
  font-size: 15px;
}
.font-size-20 {
  font-size: 20px;
}
.font-size-25 {
  font-size: 25px;
}

/* border */
.border-1 {
  border-width: 1px;
  border-style: solid;
}
.border-skyblue{
  border-color: rgb(0, 67, 252);
}
.border-black{
  border-color: rgba(0, 0, 0, 0.5);
}
.border-darkred{
  border-color: rgb(179, 0, 0, 0.8);
}
/* shadow */
.shadow {
  box-shadow: 0px 0px 3px 2px rgba(0, 0, 0, 0.3);
}


.bg-hp {
  background-color: #97C87A;
}
.bg-hp-bar {
  background-color: #8AC654;
}
.bg-attack {
  background-color: #FAE192;
}
.bg-attack-bar {
  background-color: #F8CB3C;
}
.bg-defense {
  background-color: #FBB977;
}
.bg-defense-bar {
  background-color: #D98837;
}
.bg-sp-attack {
  background-color: #A2D4DA;
}
.bg-sp-attack-bar {
  background-color: #59C3D0;
}
.bg-sp-defense {
  background-color: #89A9CD;
}
.bg-sp-defense-bar {
  background-color: #5890CD;
}
.bg-speed {
  background-color: #C39CD8;
}
.bg-speed-bar {
  background-color: #A456D0;
}

/* 各种属性宝可梦的背景颜色样式 */
.bg-white {
  background-color: rgba(255, 255, 255);
}
.bg-red {
  background-color: rgba(255, 0, 0, 0.5);
}
.bg-green {
  background-color: rgba(0, 255, 55, 0.5);
}
/* 草 */
.bg-grass {
  background-color: #77CC55;
}
.bgl-grass {
  background-color: #BDFFA3;
}
/* 火 */
.bg-fire {
  background-color: #FF4422;
}
.bgl-fire {
  background-color:  #FF927D;
}
/* 毒 */
.bg-poison {
  background-color: #AA5599;
}
.bgl-poison {
  background-color: #C689BA;
}
/* 一般 */
.bg-common {
  background-color: #BBBBAA;
}
.bgl-common {
  background-color: #E7E7D8;
}
/* 水 */
.bg-water {
  background-color: #3399FF;
}
.bgl-water {
  background-color: #77BBFF;
}
/* 飞行 */
.bg-fly {
  background-color: #6699FF;
}
.bgl-fly {
  background-color: #99BBFF;
}
/* 地面 */
.bg-ground {
  background-color: #DDBB55;
}
.bgl-ground {
  background-color: #F1DDA0;
}
/* 幽灵 */
.bg-ghost {
  background-color: #6666BB;
}
.bgl-ghost {
  background-color: #9F9FEC;
}
/* 格斗 */
.bg-fighting {
  background-color: #BB5544;
}
.bgl-fighting {
  background-color: #DD9988;
}
/* 钢 */
.bg-steel {
  background-color: #AAAABB;
}
.bgl-steel {
  background-color: #DFDFE1;
}
/* 超能力 */
.bg-psychic {
  background-color: #FF5599;
}
.bgl-psychic {
  background-color: #FF9CC4;
}
/* 岩石 */
.bg-stone {
  background-color: #BBAA66;
}
.bgl-stone {
  background-color: #E1D08C;
}
/* 冰 */
.bg-ice {
  background-color: #77DDFF;
}
.bgl-ice {
  background-color: #DBF6FF;
}
/* 妖精 */
.bg-fairy {
  background-color: #FFAAFF;
}
.bgl-fairy {
  background-color: #FBCBFB;
}
/* 电 */
.bg-electric {
  background-color: #FFCC33;
}
.bgl-electric {
  background-color: #FAE078;
}
/* 龙 */
.bg-dragon {
  background-color: #7766EE;
}
.bgl-dragon {
  background-color: #A194FF;
}
/* 恶 */
.bg-dark {
  background-color: #775544;
}
.bgl-dark {
  background-color: #BDA396;
}
/* 虫 */
.bg-bug {
  background-color: #AABB22;
}
.bgl-bug {
  background-color: #DAEC44;
}
/* 各种类型招式的背景颜色样式 */
.bg-physics {
  background-color: #FF4400;
}
.bg-change {
  background-color: #999999;
}
.bg-special {
  background-color: #2266CC;
}




/* 页面背景 */
body{
  background-size: 100% 150%;

  animation: bg-body 5s infinite;
  background-image: linear-gradient(0, #93afce, #c9d9db);
  /* background-image: url("./assets/大师球.png"); */
  /* background-position: center; */
  background-repeat: no-repeat;
  background-attachment: fixed;

  overscroll-behavior-x: none;
  overscroll-behavior-y: none;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  opacity: 0.08;
  background-image: url(https://p1.ssl.qhimg.com/t01cd3b234479538cd7.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  animation: bg-img 8s infinite;
  z-index: -999;
}

@keyframes bg-body{
  0%{ background-position-y: 0; }
  50%{ 
    background-position-y: 100%;
    /* background-color: #7ea3ca; */
  }
  100%{ 
    background-position-y: 0;
    /* background-color: #a1c9ce; */
  }
}
@keyframes bg-img{
  0%{ opacity: 0.05; }
  50%{ 
    opacity: 0.1;
    /* background-color: #7ea3ca; */
  }
  100%{ 
    opacity: 0.05;
    /* background-color: #a1c9ce; */
  }
}
</style>
